import { useRef } from 'react'
//import { useState, useRef } from 'react'
import './App.css'
function Son (props){
  console.log(props)
  return (
    <div>
      我是子组件,{props.name}
    </div>
  )
}

function App() {
  const name = 'this is app name'
  return (
    <div className="App">
      <Son name={name} />
    </div>
  )
}


export default App
